package cn.lml.lession.auth.controller;

import java.security.Principal;
import java.util.HashMap;
import java.util.Map;

import org.apache.tomcat.util.http.parser.Authorization;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import cn.lml.lession.common.util.Result;

@RestController
public class UserController {

    @RequestMapping("/user/me")
    public Principal user(Principal principal) {
        System.out.println(principal);
        return principal;
    }
    
}
